<template>
	<view :style="[$func.bg('bg.jpg')]" class="main_bg">
		<!-- <app-header title="虚拟体验"></app-header> -->
		<living :info="info"></living>
	</view>
</template>

<script>
	import living from "./components/living"
	import bedroom from "./components/bedroom"
	export default {
		components: {
			living,bedroom
		},
		data() {
			return {
				info:{}
			}
		},
		onLoad(optipns) {
			this.getInfo(optipns.id)
		},
		methods: {
			getInfo(id) {
				this.$http.post("/data/api.auth.User/sceneView", {id:id}).then(res => {
					this.info = res.data
				})
			}
		
		
		
		}
	}
</script>

<style>

</style>